package com.cskt.itripbiz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cskt.common.vo.ImageVO;
import com.cskt.entity.Image;

import java.util.List;

public interface ImageService extends IService<Image>{

    //根据酒店id查询图片
    List<ImageVO> getImageVOByHotelId(Long hotelId);
    /**
     * 根据类型和目标查询图片
     * @param typeId 图片类型
     * @param targetId 目标Id
     * @return
     */
    List<ImageVO> getImageVOByTypeAndTarget(Integer typeId,Long targetId);
}
